-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAFKA-18383: Remove reserved.broker.max.id and broker.id.generation.enable #18478
Conversation
c95743d
to
418d94a
Compare
@@ -376,7 +376,7 @@ RemoteStorageManager createRemoteStorageManager() { | |||
|
|||
private void configureRSM() { | |||
final Map<String, Object> rsmProps = new HashMap<>(rlmConfig.remoteStorageManagerProps()); | |||
rsmProps.put(ServerConfigs.BROKER_ID_CONFIG, brokerId); | |||
rsmProps.put(KRaftConfigs.NODE_ID_CONFIG, brokerId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remote storage is using broker.id
rather than node.id
. see
kafka/storage/src/test/java/org/apache/kafka/server/log/remote/storage/LocalTieredStorage.java
Line 238 in 78e3545
final Integer brokerIdInt = (Integer) configs.get(BROKER_ID); |
maybe we should align the naming for this internal config. @showuon FYI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @chia7712, I updated BROKER_ID
to NODE_ID
to fix CI error. Could you take a look when you have time? Thank you.
5b685dc
to
273c29f
Compare
@FrankYang0529 please fix the conflicts |
pending for the discussion https://github.com/apache/kafka/pull/18566/files#r1922782866 |
273c29f
to
d5af800
Compare
Hi @chia7712, I resolved conflict and CI passes. Could you take a look when you have time? Thank you. |
d5af800
to
ed8c876
Compare
d39c027
to
eda7730
Compare
@FrankYang0529 could you please fix the conflicts? |
eda7730
to
8d7a82a
Compare
@chia7712 Resolved conflicts. Thanks. |
cdaf4f9
to
b457780
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FrankYang0529 thanks for this patch. Could you please also modify the unit test testAcceptsLargeNodeIdForRaftBasedCase
? Maybe we can remove it directly.
@@ -86,7 +86,6 @@ <h5 class="anchor-heading">Removal Zookeeper configs</h5> | |||
<ul> | |||
<li><code>reserved.broker.max.id</code></li> | |||
<li><code>broker.id.generation.enable</code></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please revise the description in line#84?
b457780
to
591c26a
Compare
…nable Signed-off-by: PoAn Yang <[email protected]>
591c26a
to
23b52f7
Compare
…able (#18478) Reviewers: Chia-Ping Tsai <[email protected]>
The ZK mode is removed in 4.0, so we can remove related configuration as well.
Committer Checklist (excluded from commit message)